.dashboard {
  padding: 20px 0;
}

.dashboard h1 {
  margin-bottom: 25px;
  color: var(--primary-color);
}

/* 统计卡片样式 */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  display: flex;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.stat-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 24px;
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--secondary-color);
}

.stat-content {
  flex: 1;
}

.stat-content h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--light-text-color);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

/* 图表区域样式 */
.dashboard-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.chart-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.chart-container h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.chart {
  height: 250px;
}

/* 最近变更列表样式 */
.recent-changes {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.recent-changes h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.changes-table {
  width: 100%;
  border-collapse: collapse;
}

.changes-table th,
.changes-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.changes-table th {
  font-weight: 500;
  color: var(--light-text-color);
}

.changes-table tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }
  
  .dashboard-charts {
    grid-template-columns: 1fr;
  }
  
  .changes-table th:nth-child(4),
  .changes-table td:nth-child(4) {
    display: none;
  }
} 